import {Injectable} from "@angular/core";

@Injectable()
export class AdpMenuController {

    hideMenu() {
        let menuDom = document.querySelector('adp-menu') as HTMLElement;
        let menuInner = document.querySelector('.menu-inner') as HTMLElement;
        menuInner.style.transform = 'translateX(47.04vw)';
        setTimeout(() => {
            menuDom.style.display = 'none';
        }, 200);
    }
}
